package com.crr.query;

import com.crr.common.bean.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("查询部门")
public class DeptQuery extends PageQuery {
    @ApiModelProperty(value = "部门名称")
    String name;
    @ApiModelProperty(value = "上级部门id，默认为0")
    int parentId;

}
